#ifndef HITABILITYVISITOR_H
#define HITABILITYVISITOR_H

#include "GameAbilityVisitor.h"
#include "HitAbility.h"

class HitAbilityVisitor: public GameAbilityVisitor
{
public:
	HitAbilityVisitor();
	virtual ~HitAbilityVisitor();

	virtual void Visit(HitAbility& ability);

	void Clear();
	bool FoundAbility() const;
	Hittable* HittableInterface() const;

protected:
private:
	bool found;
	Hittable* hittableInterface;
};

#endif //HITABILITYVISITOR_H
